/*=========================================================================================
  This file is a part of BioDao.
  Copyright (C) 2011, Fu Limin. Email: fu@daovm.net, limin.fu@yahoo.com

  This software is free software; you can redistribute it and/or modify it under the terms
  of the GNU Lesser General Public License as published by the Free Software Foundation;
  either version 2.1 of the License, or (at your option) any later version.

  This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the GNU Lesser General Public License for more details.
  =========================================================================================*/

#ifndef __DAOX_FASTAQ_H__
#define __DAOX_FASTAQ_H__

enum DaoFastAQ_ReadType
{
	DAO_FASTAQ_DESC,
	DAO_FASTAQ_AUTO,
	DAO_FASTAQ_FASTA,
	DAO_FASTAQ_FASTQ
};

int DaoxFastAQ_Read( FILE *fin, DArray *seqs, int type, int count );
void DaoxFastAQ_Write( FILE *fout, DArray *seqs, int type, int width );

void DaoxSequence_WriteFastAQ( DaoxSequence *self, FILE *fout, int W );
void DaoxSequenceQS_WriteFastAQ( DaoxSequenceQS *self, FILE *fout, int W );

#endif
